package ysm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import ysm.entity.Notice;

@Mapper
@Component
public interface NoticeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Notice record);

    int insertSelective(Notice record);

    Notice selectByPrimaryKey(Integer id);
    
    List<Notice> selectAll();

    int updateByPrimaryKeySelective(Notice record);

    int updateByPrimaryKey(Notice record);
}